package kuzha;

import kuzha.runtime.Operator;

public class KuzhaUserException extends KuzhaRuntimeException {
	public final KuzhaObject object;
	
	public KuzhaUserException(KuzhaObject object) {
		super(object != null ? Operator.toString(object) : null);
		this.object = object;
	}
	
//	public KuzhaUserException(String arg0, KuzhaObject object) {
//		super(arg0);
//		this.object = object;
//	}
//	public KuzhaUserException(Throwable arg0, KuzhaObject object) {
//		super(arg0.getMessage(), arg0);
//		this.object = object;
//	}
//	public KuzhaUserException(String arg0, Throwable arg1, KuzhaObject object) {
//		super(arg0, arg1);
//		this.object = object;
//	}
}
